<template>
  <div class="common-layout">
    <el-container class="layout-container">
      <el-aside class="aside">
        <CommonAside />
      </el-aside>
      <el-container>
        <el-header class="right-header"><CommonHeader /></el-header>
        <el-main class="main">Main</el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts">
import CommonAside from "@/components/CommonAside.vue";
import CommonHeader from "@/components/CommonHeader.vue";
</script>

<style scoped lang="less">
.common-layout,
.layout-container {
  height: 100%;
}
.right-header {
  background-color: #ddd;
}
.aside {
  background-color: #444;
}
.main {
  background-color: #ddd;
}
</style>
